package com.ficus.road.maintain.core.model.carmanager;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * @author xiawen yang
 * @date 2022/2/18 下午7:28
 */
@Data
public class WebhookMessage {

    @JsonProperty("receiver")
    private String receiver;

    @JsonProperty("status")
    private String status;

    @JsonProperty("alerts")
    private List<Alert> alerts;

    @JsonProperty("groupLabels")
    private Map<String, String> groupLabels;

    @JsonProperty("commonLabels")
    private Map<String, String> commonLabels;

    @JsonProperty("commonAnnotations")
    private Map<String, String> commonAnnotations;

    @JsonProperty("externalURL")
    private String externalURL;
}
